// class


import Component from "../component";
// 暂时不做
class CountDown extends Component {
  tx_component = 'count_down'
  type = 'chosen_button';
  value = {
    switch: false,
    begin_timestamp: Date.now(),
    price: '',
    time_type: 'COUNTDOWN_TIME_START',
    expiring_timestamp: 0
  }
  query() {
    const value = this.value;
    return {
      switch: value.switch,
      begin_timestamp: value.begin_timestamp,
      // 暂时不传递
      // price: value.price,
      time_type: value.time_type,
      expiring_timestamp: value.expiring_timestamp
    }
  }
  constructor(options:any) {
    super(options);
    this.init(options);
  }

}

export default CountDown;
